<div class="row">
	<div class="col-xs-12">
		<div class="panel panel-midnightblue">
			<div class="panel-body">
				<form action="" class="form-horizontal row-border"  data-validate="parsley" id="validate-form">
					<div class="row">

						<div class="form-group">
							<label class="col-sm-3 control-label">租柜区域</label>
							<div class="col-sm-6">
								<select class="form-control" name="region_id" id="region_id">
									<option value="">选择区域</option>
									{foreach name="regions" item="v" key="k"}
									<option value="{$k}" {eq name="cabinet['region_id']" value="$k"}selected{/eq}>{$v}</option>
									{/foreach}
								</select>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">编号</label>
							<div class="col-sm-6">
								<input type="text" id="start_no" required  name="cabinet_no"  class="form-control" value="{$cabinet['cabinet_no']}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">价格（元/月）</label>
							<div class="col-sm-6">
								<input type="text" id="price" required  name="price"  class="form-control" value="{$cabinet['price']}">
							</div>
						</div>
					</div>
					<input type="hidden" value="{$cabinet['id']}" name="id">
				</form>
			</div>
			<div class="panel-footer">
				<div class="row">
					<div class="col-sm-6 col-sm-offset-3">
						<div class="btn-toolbar">
							<button class="btn-primary btn" id="form-submit">提交</button>
							<button class="btn-default btn" data-dismiss="modal">关闭</button>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<script type='text/javascript' src='{$Think.GYM_VIEW_JS}cabinet/cabinetEdit.js'></script>